ClosestVersionResolver

abstract class ClosestVersionResolver(urls: List<URL>) : Resolver<Version>

Interface for resolving the closest Version of any entity to the provided value.

Parameters

urls

The URLs list where versions list is available for parsing

Inheritors

Constructors

Link copied to clipboard
constructor(urls: List<URL>)

Properties

Link copied to clipboard
open val log: Logger
Link copied to clipboard
abstract val subject: String
Link copied to clipboard
open override val subjectInput: String

Functions

Link copied to clipboard
abstract fun resolve(): Version

Resolves the T object.

open fun Sequence<Pair<String, () -> Version?>>.resolve(): Version